package com.service.Hua.Impl;

import com.mapper.Hua.HOrderMapper;
import com.pojo.Hua.HuaBeginOrder;
import com.service.Hua.IHOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 生产服务
 *
 * @author admin
 * @date 2023/06/20
 */
@Service
@Transactional
public class HOrderServiceImpl implements IHOrderService {
    /**
     * 生产映射器
     */
    @Autowired
    private HOrderMapper hOrderMapper;

    /**
     * 得到生产订单
     *
     * @return {@link List}<{@link HuaBeginOrder}>
     */
    @Override
    public List<HuaBeginOrder> getBeginOrder() {
        return hOrderMapper.getBeginOrder();
    }

    @Override
    public List<HuaBeginOrder> getOverOrder() {
        return hOrderMapper.getOverOrder();
    }
}
